//
//  HJNewsDailyHeaderView.m
//  KaiChat
//
//  Created by lx on 2024/3/11.
//

#import "HJNewsDailyHeaderView.h"

@implementation HJNewsDailyHeaderView

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        
        UIImageView *iconImageView = [[UIImageView alloc]initWithImage: [UIImage imageNamed:@"Information_date_icon"]];
        [self.contentView addSubview:iconImageView];
        [iconImageView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.width.height.offset(16);
            make.left.offset(8);
            make.centerY.offset(0);
        }];
        
        _titleLabel = [UILabel lableWithSuperView:self.contentView font:UIFontMediumMake(14) color:UIColor.tj_333333Color title:nil textAlignment:NSTextAlignmentLeft];
        [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(iconImageView.mas_right).offset(5);
            make.centerY.equalTo(iconImageView);
        }];
        
    }
    return self;
}

@end
